package cn.fighter3.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class IndexController {
    // 返回视图页面
    @RequestMapping("/index")
    public String index(){
        return "index";
    }

}

